/* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!				\file		CC_Image.h
				\date		june 2010
				\author		TNick

				\brief		Contains the definition of CC_Image class and related


	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Please read ReadMe.txt and Licence.txt in root folder
	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


*/
/* ------------------------------------------------------------------------- */
/* ========================================================================= */
#ifndef		__CC_IMAGE_INC__
#define		__CC_IMAGE_INC__
#ifdef		__cplusplus
//
//
//
//
/*  INCLUDES    ------------------------------------------------------------ */

#include	"../generic/cc_l2dn.h"

/*  INCLUDES    ============================================================ */
//
//
//
//


/// Class representing a block
/**
*	Inherited class CC_L2DN manages the chain of blocks in a drawing and the
*	name of this block.
*/
class	CC_Image	: public CC_L2DN {


	//
	//
	//
	//
	/*  DEFINITIONS    --------------------------------------------------------- */


	/*  DEFINITIONS    ========================================================= */
	//
	//
	//
	//
	/*  DATA    ---------------------------------------------------------------- */




	/*  DATA    ================================================================ */
	//
	//
	//
	//
	/*  FUNCTIONS    ----------------------------------------------------------- */

	/// constructor
public: CC_Image();

	/// destructor; will free resources;
public: virtual ~CC_Image();


	/// saves the data regarding this class to a stream in CASP_1 format
	/*
	*	@return		true all went OK; false some went wrong
	*/
public: CCERR::EERRORS	Save_CASP_1	(QDataStream* pStream, CC_Err* pErr);

	/// loads the data regarding this class from a stream in CASP_1 format
	/*
	*	@return		true all went OK; false some went wrong
	*/
public: CCERR::EERRORS	Load_CASP_1	(QDataStream* pStream, CC_Err* pErr);


	/// saves the data regarding this class to a stream in DXF format
	/*
	*	@return		true all went OK; false some went wrong
	*/
public: CCERR::EERRORS	Save_DXF	(QDataStream* pStream, CC_Err* pErr);

	/// loads the data regarding this class from a stream in DXF format
	/*
	*	@return		true all went OK; false some went wrong
	*/
public: CCERR::EERRORS	Load_DXF	(QDataStream* pStream, CC_Err* pErr);




	/*  FUNCTIONS    =========================================================== */
	//
	//
	//
	//

};	/*	class	CC_Image	*/
//
//
//
//
#endif	//	__cplusplus
#endif	//	__CC_IMAGE_INC__
/* ------------------------------------------------------------------------- */
/* ========================================================================= */
